/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using DGZImp.SysEntity;

namespace ATkg.BizAppProject.DomainModels
{
    [Entity(TableCnName = "三地成品盘点分厂",TableName = "Full_Line_Inventory_Area",DBServer = "ServiceDbContext")]
    public partial class Full_Line_Inventory_Area:ServiceEntity
    {
        /// <summary>
       ///键
       /// </summary>
       [SugarColumn(IsPrimaryKey = true)]
       [Key]
       [Display(Name ="键")]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long Id { get; set; }

       /// <summary>
       ///厂区
       /// </summary>
       [Display(Name ="厂区")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Location { get; set; }

       /// <summary>
       ///产品名称
       /// </summary>
       [Display(Name ="产品名称")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ProductGeneral { get; set; }

       /// <summary>
       ///成品尺寸
       /// </summary>
       [Display(Name ="成品尺寸")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Size { get; set; }

       /// <summary>
       ///镀层
       /// </summary>
       [Display(Name ="镀层")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Plating { get; set; }

       /// <summary>
       ///毛坯生产在线
       /// </summary>
       [Display(Name ="毛坯生产在线")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? BlankInLine { get; set; }

       /// <summary>
       ///毛坯在库
       /// </summary>
       [Display(Name ="毛坯在库")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? BlankInInventory { get; set; }

       /// <summary>
       ///加工在线
       /// </summary>
       [Display(Name ="加工在线")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? MachiningInLine { get; set; }

       /// <summary>
       ///黑片在库
       /// </summary>
       [Display(Name ="黑片在库")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? BlackInInventory { get; set; }

       /// <summary>
       ///电镀在线
       /// </summary>
       [Display(Name ="电镀在线")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? PlatingInLine { get; set; }

       /// <summary>
       ///白片在库
       /// </summary>
       [Display(Name ="白片在库")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? WhiteInInventory { get; set; }

       /// <summary>
       ///检包在线
       /// </summary>
       [Display(Name ="检包在线")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? PackingInLine { get; set; }

       /// <summary>
       ///成品无磁库存
       /// </summary>
       [Display(Name ="成品无磁库存")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? FinalNonMagnetic { get; set; }

       /// <summary>
       ///成品在库
       /// </summary>
       [Display(Name ="成品在库")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? FinalInInventory { get; set; }

       /// <summary>
       ///预计正常成品数
       /// </summary>
       [Display(Name ="预计正常成品数")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? NormalFinalExpected { get; set; }

       /// <summary>
       ///返修库
       /// </summary>
       [Display(Name ="返修库")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? ReworkInventory { get; set; }

       /// <summary>
       ///黑片待改用库
       /// </summary>
       [Display(Name ="黑片待改用库")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? BlackDieReuseInventory { get; set; }

       /// <summary>
       ///退货库
       /// </summary>
       [Display(Name ="退货库")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? ReturnedInventory { get; set; }

       /// <summary>
       ///异常物料合格率
       /// </summary>
       [Display(Name ="异常物料合格率")]
       [DisplayFormat(DataFormatString="10,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? DefectiveMaterialPassRate { get; set; }

       /// <summary>
       ///预计异常成品数
       /// </summary>
       [Display(Name ="预计异常成品数")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? AbnormalFinalExpected { get; set; }

       /// <summary>
       ///预计全线成品数
       /// </summary>
       [Display(Name ="预计全线成品数")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string FinalExpected { get; set; }

       /// <summary>
       ///是否有效(0:否,1:是)
       /// </summary>
       [Display(Name ="是否有效(0:否,1:是)")]
       [Column(TypeName="int")]
       [Required(AllowEmptyStrings=false)]
       public int IsValid { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string Remarks { get; set; }

       /// <summary>
       ///创建人ID
       /// </summary>
       [Display(Name ="创建人ID")]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long CreateId { get; set; }

       /// <summary>
       ///创建人名
       /// </summary>
       [Display(Name ="创建人名")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       public string Creator { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       public DateTime? CreateTime { get; set; }

       /// <summary>
       ///修改人ID
       /// </summary>
       [Display(Name ="修改人ID")]
       [Column(TypeName="bigint")]
       public long? ModifyId { get; set; }

       /// <summary>
       ///修改人名
       /// </summary>
       [Display(Name ="修改人名")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       public string Modifier { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       public DateTime? ModifyTime { get; set; }

       
    }
}